Login and email system changes