Issues resolved

1. User name is not hardcoded now.
2. assignName method name is changed to validateAndAssignName.