Simplified user check in index.php
Merge remote-tracking branch 'origin/master'