implement redirect
add ui