added debugger gem
made index view change based on search