refactor(auth): use eve hook for authentication