Initial Login PHP functionality

Includes PHP classes to allow for safe logins/logout and session
control.