basic redirect functionality works