added signup and register functionality as well as primitive test class