add gravatar image for users
use sqlite only in development and test mode