Got index working. Need to work on login.