Add session object in grant() to enable session values to be specified. Currently defaults to user_id
Add session object in grant() to enable session values to be specified. Currently defaults to user_id