This project is the end code from an api auth example (still in progress)