#19 fix routing while logged in