Refactring - commented Teacher login