Fixed in User.java: Changed "static Log log =
LogFactory.getLog(LoginController.class.getName());" to 
"static Log log = LogFactory.getLog(User.class.getName());".