The backend has checking to ensure a user is logged in by querying the database before every rest call. The username and password to check must be provided via jQuery ajax headers. An example is provided with a test button and jQuery function. Still not sure how the username and password will be kept during a session to be provided during ajax calls on frontend.