add user login, logout interface