code for login
resolved a bug
changed cookie name to common cookie acroos all games apps
code for stats
made cookie not http