Last seen calculation works