added routing to views