add index and login page