change redirect to be selective based on admin or public area