separated handling of access request into separate method
added some informative console output