Removed log2 and debugged. Redirected mitm pages