Defined $user as the authenticated user