add devise
add log in/out/signup links
add before_filter
install devise views, minor changes