implementing the new user class