setup karma, guard