Switched to standard fieldnames for username/password, added documentation