Added public static keywords to handleRequest