admin link not redirecting properly