user disconect logic added