[#39] added helper function to all actions
[#39] strange error - the helper function does not seem to be recognized outside of the index function
[#39]fixed typos in the controller