'Get all the current sessions.'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
def get_pms_sessions_json(self, **kwargs):

    pms_connect = pmsconnect.PmsConnect()
    result = pms_connect.get_sessions('json')
    if result:
        return result
    else:
        logger.warn(u'Unable    to    retrieve    data    for    get_pms_sessions_json.')
        return False
