Modified to get the value from the database in the next page acquisition method