Added singup and login functionality using password.js