Fix model in auth_from method