added lastLoginAt field to user model