add new db
add function send email to invite friend