using onNewIntent
fixed a bug, a lot of debugging code
removed PendingUser
moved alarmmanager registration to service, fixed a minor bug
changed some TODOs