Added a check for usr != null and changed n_name to use stripped_input() as per Giacom's suggestions. Also added those changes to normal papers (That's where I got the code from in the first place)