fix bug - after logout can not authorization