Due to not being able to use variables with self.* putting token and email declaration into each function