fix php client login and member page