Fixed all controllers and JSP pages for working with Spring Security.