add base 64 encoding and decoding to user login/signup, with tests