Added flash msgs and updated devise routes