added  login for client