new data value to store last_valid_time for User,
it updata when user authenticate and refresh toekn.
and from friends_view, it check each friend user's last_valid_time. if it is bigger than 300 second(access token lifetime) automatically is_online=False
seems our main has problem now, so this branch doesn't need to be merged right now.
new data value to store last_valid_time for User, it updata when user authenticate and refresh toekn. and from friends_view, it check each friend user's last_valid_time. if it is bigger than 300 second(access token lifetime) automatically is_online=False