refactored some of the foster_parent controller