Added toString method to allow user to be logged in Tomcat