Mac callbacks

I have managed to get 90% of my app done for the mac I am stuck on one issue. I want to implement mac login but can not find a way to get a call back when the auth is complete I know this is possible in mac with the normal NSApplication but dont have access to that of the deleegate class has anyomnegot any ideas?