Amend views and routes