Login stuff really shouldn't be handled by the constructor.