Fixed players permanently being stuck in-game.
Updated invite sending to work through AJAX.
Changed how sessions are stored.
Fixed declined invite behaviour.
Moved user index view logic into its own file.
Removed the unused invite status check function.
Added AJAX polling for user list.
Fixed a bug with routing, while not logged in.