added error notice if someone hits back on browser