Added connect dependency and made newuser a POST method