Format code.
Store user in datastore.