Adding endorse button and getting validation date from database