Redirect to referer

- this is a simple enchancement that smartly sends the user back to the
original referer url if the route is being directly accessed (e.g. a client side redirect)