moved homepage to index and make buttons working