(1) php code added (2) sign-up log-in log-out done