added getLastSocialInteraction() to DatabaseModel