add some comments to login module