change home view controller logic