even more css cleanup
created new abstract conroller for admin to load templates from admin
cleaned index and created an controller and a frontend layout and also added a global footer
code format
moved authentication inside the controller and added an html login form
modified redirect to use class name as controller, not request
removed duplicate code
some more code reuse
added check if the operation actually worked
disabled frontend authentication as default
refactored checking if the db operation was executed successfuly
some css ajustments
some css ajustments
refactored message system, question save action and added a function that returns questions directory
refactored message system, question save action and added a function that returns questions directory
fixed image upload on dev