Add home subroutes to the server and client