             user!.saveInBackground()
          }
         
-        // Dismiss UIImagePickerController to go back to your original view controller
         dismissViewControllerAnimated(true, completion: nil)
     }
 

        // Dispose of any resources that can be recreated.
    }
    
    @IBAction func onEdit(sender: AnyObject) {
        //performSegueWithIdentifier("editScreen", sender: self)
    }
    
    @IBAction func onCamera(sender: AnyObject) {
        //Library picker being loaded
        let vc = UIImagePickerController()

    
    func imagePickerController(picker: UIImagePickerController,
         didFinishPickingMediaWithInfo info: [String : AnyObject]) {
        let editedImage = info[UIImagePickerControllerEditedImage] as! UIImage
        
        userProfileImageView.image = editedImage
        
        let newSize = CGSize(width: 500, height: 500)
