Added conditionals to validate the information, corrected text errors/mispelling