Un-hardcoded navbar urls
Add basic miles entry function