created views and controllers for routes