Fixing migrations and roles lookup