Get id for email

Changed checkEmail exists for getIdForEmail. The action request stays check if email exists but uses the new method. A new endpoint would have to be created if the frontend has need of the id.