fixed login/logout, added links