add loading spinner lib
fix photo upload