Fixing redirect bug on chat creation page