Updated path to loading icon
Add jquery ui images, update global login function