Changed from time to name
Added logging in HomeController