Updated the route function, it verifies authentication always now (except for the cronjob where its not needed)

Added a '404' not found page.