proof-of-concept of a login mechanism that works on all platforms