signup coded and tested: