Added authentication and authorization. Works but need to connect to a
database.