Connected the security system to the user entities stored in the database.
Full login system. Passwords are hashed and salted.