Created so user create is autologged in user