getting app to work with two email addresses