Changed String date (User.java) to Date date