added login to client