save last_viewed date
add last_viewed_timestamp to login call as well