sorted frontend js into separate files; main.js was becoming crowded
colors are better than alerts
validations for the edit page as well
tests work with a hardcoded id of the dummy user

have to figure out how to access the response object of a request (line 101 here)