add name method to user model