MAIL-4 add registration and login