change login/logout button and little fixes with loginza model