Added a hook for sticking the logged-in user into c.