Started to implement the server browser
Make getprofile use the id instead of session key

Fixed some broken code that stopped the game from logging in.