Modified scripts according to new login UI