Squashed a bug on LoginFragment, handled exception on DetailPage