Modified how and when headers are written. We now use a convenience object to store status code and content type info for the head. Also changed formatResponse function in utils to return the formatted response object instead of taking a callback to call res.end. Modified if-control structure in user.js (routing) to make code more flat.