add check for existing app (email)