added sessions shortcode and created functions file