adding check, conn, login, logout, regu php files