Fixed syntax error in routing to dashboard