Basic auth

Add basic auth functionality.

Also added environment variables to Heroku