         let alertController = MDCAlertController.init(title: "Report Post?", message: nil)
         let cancelAction = MDCAlertAction(title: "Cancel", handler: nil)
         let reportAction = MDCAlertAction(title: "Report") { _ in
-          self.ref.child("postFlags/\(post.postID)/\(self.uid!)").setValue(true)
+          self.ref.child("postFlags/\(post.postID)/\(self.uid)").setValue(true)
         }
         alertController.addAction(reportAction)
         alertController.addAction(cancelAction)

      }
      followedUserPostsRef.observe(.childAdded, with: { postSnapshot in
        if postSnapshot.key != followingSnapshot.key {
          let updates = ["/feed/\(self.uid!)/\(postSnapshot.key)": true,
                         "/people/\(self.uid!)/following/\(followedUid)": postSnapshot.key] as [String: Any]
          self.ref.updateChildValues(updates)
        }
      })

    super.viewDidAppear(animated)
    if let currentUser = Auth.auth().currentUser  {
      self.uid = currentUser.uid
      self.followingRef = ref.child("people/\(uid)/following")
    } else {
      let authViewController = FUIAuth.defaultAuthUI()?.authViewController()
      authViewController?.navigationBar.isHidden = true
