use BaseActionBarActivity for most activity classes.
fix networkOnMainThread bug of RegisterActivity