Implemented User.java class