Thank you , sorry now i know for the next time and thank you so much for your help. I changed the code. Your answered help me a lot but now I only have a problem when I logout and I click back in the browser I still login but if I delete the link on the browser and write down again it show me that I am logout how can I logout even if i click back in the browser I want to be logout? thank you again