bugfix login logout
Signed-off-by:phanupon <phanupon@192.168.2.7>