Changed the order of the http handlers.