bug fix

no longer crash when user doesnt have books