added user sessions for smtp transfer of emails