added register user and saving token in sharedpreferences

todo: change httpclient to jsonobjectReqest