changed home.html to home.php
Merge pull request #45 from ThuThreeFour/userLogin

changed validation of user credentials, login and logout session. And changed home.html to home.php in home.php, writeJson.php, and validateRegistartionForm.js