fixed error thats occuer when login