updated UserDAO.java and User.java to use emails instead of usernames