move files to subdirs, fix user cookies crashing when server is reset