fix comparation and login