add license. add user_settings. fix acts_as_user to clear out the header if it was previously empty