- updated server and routes to handle back button with in app