Move app key to envvar. Added signin/signup/signout with working email sending.