added lastLogoutAt field to user model