adds user authentication to all of the back-end project methods, ensures that the session agrees with the id of the user being sent by the client
adds ability for users to edit their accounts, only works for successful account updates and form entries - no error handling and no feedback programmed yet.