Fixed two small bugs.
Added update user last seen on login.