Added  login check on the homepage.
Added Bootstrap and jQuery to the base template.