hook locations and points entries
cleanup - removed unused helpers
correct authorize check
cleanup - reduce number of params[:controller] accesses