Modifying the navbar not to show edit when on the edit page