using redirect with instead of flash and redirect