fix login/logout api
fix login/logout api

mlgruby/mining,jgabriellima/mining,mining/mining,avelino/mining,jgabriellima/mining,chrisdamba/mining,mlgruby/mining,AndrzejR/mining,avelino/mining,chrisdamba/mining,seagoat/mining,seagoat/mining,AndrzejR/mining,mlgruby/mining,mining/mining