Creating index and login
Removed redundant stuffs