creation of user class