root to apartments#index added and form for search added