add user and password functionality