Adds functionality to user profile page, to update the user's weight on a given date.