Migration and some login required things.