refactoring. and added status msg

refactoring. 
warning status message for when user has at least one blank input value