changed logic at customer main page
Merge remote-tracking branch 'origin/master'