fixed a bunch of bugs
wallet and auth. communication via gcm seems to work