change fragment management.
login dialog based on DialogFragment.
(close #3)