updated servlet path in web xml and controller. added and tested methods for getting and updating data in from the database