Resigns functionality implemented