changed log out method name