Added a check for nil PFUser object