Added index on pageid and userid properties.
In case of duplicated users or pages an exception is thrown, rolling
back the all insertion. In the future we can think about a check on the
existence of the element before calling the insert method
Signed-off-by: Davide Valsecchi <valsecchi.davide94@gmail.com>