Registration works. Still trying to figure out cross domain stuff for logging in.