better way to check the timeout parameter
timeout parameter has to convert to int
disconnect user method
fix testing