Switching to PHP

Converted everything to php, built a registration page and login page.