add ajax route for home