Refactor authenticate call