Added user class for user details and more tests