code cleaning (views and routes)