No message param to index template.
Set custom session cookie name.
Fix erroneous field name in player where clause.
Implement basic login/out functionality.