modified the authentication in all the controllers in order for the homepage to show properly