edits to controller to get search errors to work, or return results if any. simplified sql search temporarily to just study_topic