Make login more helpful?

Add a simple method that gets the email address linked to the users
device via the AccountManager API, the value returned is then sent as
the default value for the email field in the login form.
Fix local errors