working user create, login, logout