Fixed getter for username in Hibernate configuration