Added fix to redirect to dashboard