add loading indicator to login page