Changed rejection handlers to relative urls