redevelop database schema

add users and group
refer to #10