how to create log in log out form in php and mysql