Building out the server flow