refactor
check credentials