Added a user authentification system.