renamed the logincontroller to authenticationcontroller
added a logout function to the authentication controller and implemented the logout functionality in the admin layout