Added spring security for login and session management