Updated login screen and added loadScript do dynamically load dependencies