Added Email support. Updated user management.