removed var_dump from controller logic