add layouts and private functions in tasks
redesign tasks page