update UserResource by adding method for authentication