jsonDataUpload and new login added

I've added these things, but the Login activity appears to be dysfunctional. Making pull request per Jeremy's request.