Need to get access to object in main from loginform.cpp