redirection to dashboard after creating message