some changes in index and login