cleaning wrong url generation with proper functions.

@see http://ellislab.com/codeigniter/user-guide/helpers/url_helper.html
fixing error with loading views,

single quotes changed to double quotes, for wrapping variables inside text
correcting link urls