Fixed bug where user recent activity was lost due to login.