https://www.codeofaninja.com/php-login-registration-module/
PHP Login & Registration Module