Navigation between pages now works