added back navigation & connected to the backend