creating user class