fix in api.server, login.is_guest and improvement/debug log in patch