changed client side to work with login server changes