Added a register and login page, fixed the sql table creation to make a large enough password field.