Made some error handling on some routes to prevent empty strings to be passed to the DB function.
Made UI changes, mainly fixing bugs and changing some theming
start