Implementation and Analysis of User Authentication Mechanisms in Database Systems