finished the home ajax call. had to create a new route to redirect to instead of index because we needed to render layout false. I couldnt find a way to do this with an if statement. i suspect that there is proabbly a way to read the head of the request and use that data to tell if it came from a redirect or not but I was unable to figure it out. ajax should be done now