def prompt_user(prompt="Enter an owner username: "******"":
			user = User.get_user(username)
			if user is not None:
				return user
def user_add():
	# Find the username given
	user = User.get_user(request.form['name'])
	if user is None:
		flash(_("<strong>The user you tried to create does not exist.</strong>\
		Please check the username and try again."))
		return redirect(url_for('manage.user_browse'))

	user.organizations.append(g.organization)
	user.save()

	return redirect(url_for('management.user_browse'))