completed the register and login website with PHP