Added authorization and authentication to the controllers
The application will now load files from the lib dir