SecurityInterceptor added to intercept unauthorized request and to show the login page. Login, registration implemented