remove code from user controller to middleware; separate middleware into two files (error.js and helper.js); move toward the completion of authentication piece of app; update services for temporary cookie testing