Fixed typo on line 23 and also changed db pass to ' so php doesn't feel the need to process it as a string.
Added form + layout