Add user and shop relation. Add session validatcation.
Update the sql.