Pubstwo 889 Client side authentication functionality done

...getS the token...
Sorry to be the grammar police