admin functionality, redirection fix