good news. i finally got it to work.
I found out that it was because there was a MAC clone feature.
So the router assigned a random MAC address which was not verified before.
The strange thing was even when i entered the router’s real MAC address, which i had spoofed earlier and logged in successful, i still couldn’t access.
I ended up using using the MAC clone feature and just entered my imac’s MAC address which was already verified.