edited web files
final changes for correctly working app with acceptable error checking