rearrange the code about volume
refactor code about check_login