accept email as user id