add dynamic login/logout to menu