Added validations to the user and review databases