api: register logout handler
api: register logout handler

Related to #401.

kgrvamsi/tsuru,hugoantunes/tsuru,RichardKnop/tsuru,tuxmonteiro/tsuru,4eek/tsuru,cezarsa/tsuru,hcxiong/tsuru,Endika/tsuru,guilhermebr/tsuru,RichardKnop/tsuru,cezarsa/tsuru,ArxdSilva/tsuru,kgrvamsi/tsuru,mderaldo/tsuru,ArxdSilva/tsuru,ggarnier/tsuru,tuxmonteiro/tsuru,4eek/tsuru,gwmoura/tsuru,mderaldo/tsuru,tsuru/tsuru,jblancett/tsuru,jblancett/tsuru,jblancett/tsuru,Endika/tsuru,hugoantunes/tsuru,ggarnier/tsuru,tsuru/tsuru,firebitsbr/tsuru,ArxdSilva/tsuru,gwmoura/tsuru,gciotta/tsuru,firebitsbr/tsuru,Endika/tsuru,cgvarela/tsuru,mderaldo/tsuru,gwmoura/tsuru,guilhermebr/tsuru,RichardKnop/tsuru,4eek/tsuru,tuxmonteiro/tsuru,ArxdSilva/tsuru,gciotta/tsuru,ggarnier/tsuru,cezarsa/tsuru,guilhermebr/tsuru,kgrvamsi/tsuru,tsuru/tsuru,cezarsa/tsuru,cgvarela/tsuru,cgvarela/tsuru,guilhermebr/tsuru,ggarnier/tsuru,hcxiong/tsuru,tsuru/tsuru,gciotta/tsuru,firebitsbr/tsuru,hcxiong/tsuru