implemented function for when user disconnects
blah