Removed extra db code in the view