Mechanics of User Identification and Authentication: Fundamentals of Identity Management