removing the session and action field from the Url