login and gallery added to index page