added support for adding photos; improved fb login