Added basic form validation and increased db support

-Basic client-side validation used for now

-Users can login to the database now if their record exists