using series-specific downsampling
adding login, logout pages