authorisation added to all controllers
fixed the redirection to home page issue