added foreign key constraints and unique index for plants
autofocus on user forms