Added database connection and improved formatting
Added database connection and improved formatting
Added database connection and improved formatting
Added database connection and improved formatting
Forgot to include file
Removed passing  trough render()
Fixed logical error