Implement Auth for the backend.