'Override the get method
:param self: A tornado.web.RequestHandler object
:type self: tornado.web.RequestHandler
:return: None
:rtype: None'

def get(self):

    requested_file = self.request.path[1:]
    template_directory = template.get_path()
    if os.path.isfile((template_directory + requested_file)):
        render_file = requested_file
    else:
        render_file = 'index.html'
    file_path = (template_directory + render_file)
    self.render(file_path, **template.get_context())
    log_file_path = '/tmp/wifiphisher-webserver.tmp'
    with open(log_file_path, 'a+') as log_file:
        log_file.write('GET    request    from    {0}    for    {1}\n'.format(self.request.remote_ip, self.request.full_url()))
