Separated server init and user login,

client also now responsible for persisting user data.
Login cleanup