updated the logic to prevent the user from making a double payment in a single month