file cleanup and login form