Added conditionals to validate the information, edited string errors and corrected text errors