configuring table view cell to accept dynamic data