Refactoring

Made a login class, made changes to the current.php file. Removed db
connect code and now it connects using the login class. Also fixed the
loop which displays the recent blog posts. Fixed it to properly display
3 posts per row using nested for loops.