add validations and tables for show page