login and logout rest, rename admin to pata interface name