Added spring-security to pom.xml and added database.properties.