Created basic pages for creating a user and logging in
- Corrected cookie creation syntax
- Corrected password checking logic
- Changed SQL in schema.player.sql to make it clearer
- Created logout page
- Updated HTML index page
- Changed logic to use sessions
- Added logout file
- Moved core logic into functions in api_core.php
- Added a player authorisation table to database and a view that adds this to the player table
- Cache authorisation key to database at login
Clear authorisation key from database at logout
Added initiate function to keep a user logged in based on the cookie authentication key
Merge remote-tracking branch 'upstream/master' into authentication
Updated code to match new database table names
Use session data to authenticate when creating new game
Merge pull request #44 from blackshadowshade/authentication

Basic authentication logic