Fixed the form page and users are entered into the database