added database connections and starting to use Spring Security to secure the app