Initial clean-up, authentication, authorization