fixed bug login wrong