added get and registering new users through the api. Added karma test config