return exact infomation when login failed
add userconfig and check is valid