Added getting channels from database