Fixed links and database inclusion
Added template and logic for editing an article