MB-146 #Fixed create_user function