Implementation of session customer check in index page