added book model
fixed bugs in schema and user