added logic for the rentings; datepickers from jquery