change user database structure