Changed several codes to make UserViewController refresh when it will appear.