A function login-logout system written in PHP