Fix env detection
A lot of changes

- Fix gulp
- Add auth
- Add basic views templates
- Improve env config
Add password routes
Edit the views
Add basic login page
Style the login errors
Add users table
Finsh login/register/logout system
Add auth checks

- Show register/login if not logged in
- Show logout if they are