initial commit (after splitting this project from php-login)