sp = this.getActivity().getSharedPreferences("config",
Context.MODE_PRIVATE);
username = this.getActivity().getSharedPreferences("config", Context.MODE_PRIVATE).getString("fname", "");
password = this.getActivity().getSharedPreferences("config", Context.MODE_PRIVATE).getString("fpass", "");