Auth updates

- Event listeners for login/logout to generate/nullify auth tokens
- Require auth for logout, nauth for everything else
- Change name -> username, pass -> password
- Change min name length to 5 because I want to be Corey ;)
- Flash error "Something went wrong" if login fails, but that should
never happen because of the validation
- Only flash username on validation fail, we don't need passwords/hidden
form stuff
- Add logout function
Home updates

- Add register action
- Require nauth on register
- Add CSRF protection
Add auth field to user table, change name -> username, pass -> password
Fix actions
Update lang
Migration for space_users table
Add SpaceUser model
Rename pass -> password, link to spaceUser
Add register view
Add client.js asset, updated with new features

- Pass hidden form fields to server for login/auth
- Properly handle users with max life/shields != 100
Add space view
Add space controller
Update home view

- Show old input if there are validation errors
- Show login form if guest, or logout/play if logged in
Update routes
Update server User model

- Check auth
- Pull user data from the database
- Rename a few vars
- Transmit max life/shields to client
Renamed a couple user fields
Use max values from user instead of generic defaults
Remove generic default values, change method of generating IDs