Modified routing to allow for frontend