Made asynchronous login.
Added register-activity and -task.
Changed deprecated Notification handling.
Renamed a variable.
Bound activity to service to be notified of state changes more easily.
Added JavaDocs and comments.
Added JavaDocs and comments.