Redirection to chat room page and dynamic generate page through jade