Record current user instead of an old one.

fix #526