fixed navi bug, added redirect to login if session is missing