Added custom routes and styled the flash messages