create last login field when creating a user