add user resource,login,logout