Redirecting to patient dashboard after registration of patient