I am moving socket code to a config file and updating the session timeout