added product validation and user profile page