update of the AuthController
added polices and created policy isAuthenticated
added service