Added a helper to refactor the different alert styles, but can't get it to work. Changed some of the urls via the routes file.