change templates location
add redirect and fix admin