encapsulating methods email_login
log controller updating include
including methods for login
handle  errors by connections