Update register.php

use only lower case to store username and email address in database