added slug and public view for authors and books
style changes