Clientside authentication complete

See last section of README for details