added extra comments to methods associated to user login