Added data from database to views