title: Is it safe to use ajax for login?
body: <p>Am about to include a log in system to my web Site but i don't think it's a good idea for security to use ajax to send a and receive confirmation from an external php script called login.php
  and log-out the same way with another logout.php 
  any recommendation </p>