Under the Licensing Act 2003, which of the following is the primary duty of a Licensing Authority when carrying out its functions?