added appConfig and did some improvemnet in loggin service