reorganised file, added terms for sign up with error code and success page working