fixing errors in signig in