refactor code to support multi DB
add user attribute and user management ui
refactor UsersList Snippet