added spinner + fixed push bug + added session manager

Changes include:
-> Now spinner shows while registering for push
-> Session Manager used to handle sessions
-> fixed a bug: Push now works fine even if app is closed