changes to auth backend + migrations