database.sql updated/viewtimeline for users