deleting useless pictures and js files and fixing the session