error reporting added to clientlogin