- implement auth service

- decouple logic.
- show/hide logout button if user is authenticated.
- rename player name property
- code tidy up