Added check_lines method to user