A login and registration page

Made some changes to the login and added a registration page as well as
all the php to make it work.