Fixed login link in login nav.
Now allows non logged in users to search.
Updated add.ctp to use cakephp formhelper methods (for compatability with Security component).
Added Security component.
Removed comments.
Updated Html->url to Html->link
Added build-input class to textarea.
Converted edit.ctp from html to cakephp formhelper style.
Fixed add and edit actions not working after modifying corresponding views.
Fixed user_id not being saved into database.
Changed id names since the view was edited.
Fixex form->end(). Added submit button and fixed black-hole issue due to capitalisation.
Fixed id selector.
Added construct_previews() and get_text_build().
Added genreate_build() - refactored code from view. Now abides by DRY as this block of code was used in multiple views.
Added generate_text_build().
Refactored code into buildhelper. Added text-base buildorder preview in edit view.
Bad edit will redirect to that build now.
Added type checking to new buildhelper methods.
Remove trailing whitespace at end of string.