added return statement in router file