fixed issue of login