cleanup and signup