move get_session into client
version bump to 0.5.2