Just been reading around and noticed an error there in the text...
First investigated issue with missing sqlite drivers, fixed by doing an info dump into log file. Then made a template file for the html that needs to be rendered, to get it out of the php file, for more control.
Made a likeable index file. Also, changed the templating a bit to pure strings. Why bother with underscores and signs anyway?
Added the login class that will encapsulate our needed behaviour. Also, upgraded the service classes a bit.
Implemented the basic service needed for logins in a MVC-like fashion. Made a test for this service in the index page. Deleted phpinfo() log.
Merge branch 'master' of https://github.com/gavrilovmiroslav/php-challenges