initial work on login, password change and index retrieval