added some styling and handle 404 and 500

not written the test 500 not sure on how to create a 500 error to test