sign in callback moved to gui