Added authenticate method to session create.