fix redirects after login
add subdirectory setting to vagrant bootstrap