added login identification code inside layout application file