Fix controllers book and lend_log.

Fix book controller's create method for multiple books register. Fix lend_log controller's create method for getting group_id and user_id.