Finished sign-in refactor (and one bug fix)