add support to register users with email from CAS