Creates sessions