first commit

Added loginLib.php contains all login script and register script