Wait for everything to be loaded before proceeding with signin functionality