class to store user details