#4 added middle name as required field during registration + fixed some typos
# Tiny fix and code style improvement