Changed membership type names.
Devided membership functionality on client instead of server.
Fixed bugs.