add user login and save database, #7
add user login and save database, #7