Add conditional register, login, logout to top navbar