Started using panique/php-login as a base to work from