checkLogin.php and logout.php

added some comment and redirection to index.php on logout.php
Merge remote-tracking branch 'origin/master'

Conflicts:
	checkLogin.php