login/register php added

able to separate the login and register processes for each form but for
some reason, the register keeps returning that the registration has
failed. All validation not added.