working on saving the session files and opening connections in the background via those files