fix removing register and account links from top nav (github issue#29)