validLogin class was added