Added basic PHP login framework with SQLite

It would rock if someone could convert this to MySQL.