Teacher login fixed