models and home page setup