Disable photo upload button on main and protected pages

Change-Id: Ia7236a76a18c81289a72515ed80629566eb5cee5