removed redirect urls, in favour of a selfUrl which can be then used in view when setting the redirect