redirects after login and sign ups
fix js error in book.js
precompile assets