connect member to database implemented