register user, autorun, general clean-up