added option to add public album
Improved use of isset()
Merge remote-tracking branch 'author/master'