code example of login and logout system in php with the help of mysql and sesssion.