prepare for user database