Added code for entry posting to relationships_controller