Sign Up and Login using Parse (www.Parse.com) and their Javascript framework.