New book function working. Need to fix redirections