databse 3rd setup
init merge
login and logout