Change static code to AppSettings loginData