corrected to pep-8 standard. created a succes message for account regristration.