moved get params function to application controller
modified link_tos to accomdate for new association