Added logout for loggedin admin. Should be changed to IsAdmin from IsAuthorized