added base template with bootstrap, added login page, fixed main page to show last 5 posts