Add SSL in production
Cleaning up some code and adding relevant tests
Finished sign-in-sign-out