Signup returning JSON data with err and newly created token