poprawnie metod checkEmail i checkPassword