Added requireUserLogin, requireUserVerification

...to public_functions.php. These are standardized versions of the
login/verification checks that the API functions use.