changes to database for multiusers