Thread safety can be a problem if several threads access some shared state.
Unless the code hidden behind "do some stuff" uses static fields or singletons, there should be no thread-safety problem: all your variables are local to the login method, and thus not shared between threads.