Server side. Create user if not exists