Added danger template for flash
redid to referrer on login so I don't need a view
Fixed logic for existing helper, danger for flash