+ some new stuff for logining with asp.net identity
+ passing player name into cookie without any protection and authentication for a while - cause of problem with OWIN authentication implementation.
temp ugly code before redesign
redesign begin