added securekey script base and user model