Added another feature to User.java