added method identifier into factory for auth service