Added photo attachement

* Added photo attachement feature.
* Fixed code style inconsistency.
* Displayed login error dialog when there is no facebook account configured.