changed method naming on login action in MailServer

also updated its functionality, see method doc
Revert "changed method naming on login action in MailServer"

This reverts commit c5cfba280a7ce15c7448f2d5f110fd5986ca5691.