Added redirect url validation