Fix password sending in app, resolve async so app does not hang
fix background task
slight refactor
Add a toast when we are succesfully logged in
Check the response and show a failure notification if necessary
re-register background task on update