add debug statements
Make cached key take user id into account