mysql database , add user login,logout,registe