logout and PageController implemented
logout throws not authorized error