Implemented Login/Logout using cookies

When admin (password 54321) logs in, it sets cookie and takes them to
writeReview.php.
If the cookie is not set, the writeReview page will not display