config refactor

add loading status
integrate login service