Search Results View Created, function for Search created in controller