Add searching for available periods to SPA