Fix camera loading issue

In photo page, use local imagePicker instead of property;
In login page, consolidate all update queries;
In the barcode scanner page, re-initiate pickerController each time the
scan button is touched, add a spinning indicator