DB functions added

login
logout
insertUser
updateUser
isUserExist
...