Added homepage and get free slots function