Added constructor with token