Added spring-security configurations and authentication