Fixed home search path and removed commented code from routes