Database fully functional with all helper functions. Now for the html and javascript