slight api updates

public_dir forwarded from base
redirect returns nil