Added getter to variable id in User.java