Added API files

php for mysql connection, getlogin, and registeraccount