User credential detection