Added authentication helper methods