fix login problem, find out client side problem