added edit page and rating to offers with errors