Add attendance endpoint to the api