Testing resize with imagemagick on the server
Fixed using imagemagick for the server, and the scan page now outputs a preout and postout log file in /uploads/logs, although it is hardcoded to the location in the server.
Added handling /home request if not logged in: redirect to login, if you have no profiles, a button to make one, and editing features on the home page. Will need to process whether the delete button is pressed or the scan button is pressed; or can disable the scan button in edit mode. Yea, I think I'll do that.
Disabled the scan button when editing; updated scan.js to output log files to app directory; changed size to 1000 because 3000 would sometimes give the wrong readings; set up the layout of the scan screen displaying the profiles and additional allergies. TODO: deleting profiles from the edit page; passing in selected profiles as a session variable for the scan page; matching up the allergies from the profiles and additional textarea to the results and highlighting those in red.