ticket3. Added test and loginIn