adding flash.now alerts and reverting routes to not error