add log for login operation