changing routes to controllers