User Repository Working(Fixed problem with logging causing
LifeCycleException on Tomcat7)