add user login and mail notification