created user class and attributes of user