add config to login view