url redirection functionality implemented with show action