removing unnecessary methods in user model