re-write authentication method