pass whether newly created user to frontend